alfarda.tune(x, ina, a = seq(-1, 1, by = 0.1), M = 10, gam = seq(0, 1, by = 0.1),
del = seq(0, 1, by = 0.1), ncores = 1, mat = NULL)
Tsagris Michail, Simon Preston and Andrew TA Wood (2016). Improved classification for compositional data using the $\alpha$-transformation. Journal of classification (to appear). http://arxiv.org/pdf/1106.1451.pdf
Tibshirani R.J., and Tibshirani R. (2009). A bias correction for the minimum error rate in cross-validation. The Annals of Applied Statistics 3(2): 822-829.
alfa.rda, rda.tune
library(MASS)
x <- fgl[, 2:9]
ina <- fgl[, 10]
moda <- alfarda.tune(x, ina, a = seq(0.5, 1, by = 0.1), M = 10,
gam = seq(0, 0.7, by = 0.1), del = seq(0, 0.7, by = 0.1),
ncores = 1, mat = NULL)
Run the code above in your browser using DataLab